package com.songqi.common.web.swagger;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


/**
 * 过滤swagger3 token校验注解
 * 当controller方法上有此注解，swagger不检验token
 * @author songqi(13776346982)
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface PassToToken {
    boolean required() default true;
}
